.home{
    /*width: 100%;*/
}

footer .home span {
    background-image: url(/static/base/img/home1.png);
}
footer .home dd {
    color: #ffd601;
}

/* 头部轮播图部分*/
#topSwiper {
    height: 8rem;
    width: 100%;
    overflow: hidden;
}

#topSwiper .swiper-wrapper{
    width: 100%;
    height: 100%;
}
#topSwiper .swiper-wrapper a{
    display: inline-block;
    width: 100%;
    height: 100%;
}
#topSwiper img{
    width: 100%;
    height: 100%;
}
#topSwiper .swiper-pagination{
    bottom: 0;
}


/* 导航部分*/
.nav{
    /* 8px*/
    margin: 0.5rem 0;
    background: white;
    /* 10px*/
    padding: 0 0.625rem 0.625rem 0.625rem;
}
.nav ul{
    display: flex;
}
.nav ul li{
    width:25%;
    text-align: center;
    /* 11px*/
    font-size: 0.6875rem;
}
.nav ul li img{
    width: 100%;
    margin-bottom: 0.625rem;
}

/* 一定买 轮播图部分*/
#mustbuySwiper{
    width: 100%;
}
/* 关键是swiper的设置，slidesPerView个数*/
#mustbuySwiper img{
    width:100%;
}

/* 商品部分*/
.shop{
    background: white;
    margin: 0.5rem 0;
}
.shop .shophead{
    width: 100%;
}
.shop .shophead a{
    display: inline-block;
}
.shop .shophead img{
    width: 100%;
}
.shop .shoptab{
    width: 100%;
    display: flex;
}
.shop .shoptab a{
    width:50%;
}
.shop .shoptab img {
    width:100%;
}
.shop .shopclass{
    display: flex;
}
.shop .shopclass li{
    width: 25%;
}
.shop .shopclass li a{
    display: inline-block;
}
.shop .shopclass li img{
    width:100%;
}
.shop .shopcommend{
    width: 100%;
    display: flex;
    /*
        nowrap: 默认值。规定灵活的项目不拆行或不拆列
        wrap： 规定灵活的项目在必要的时候拆行或拆列
    */
    flex-wrap: wrap;
}
.shop .shopcommend li{
    width:50%;
}
.shop .shopcommend li a{
    display: block;
}
.shop .shopcommend li img{
    width: 100%;
}


/* 主体内容部分呢*/
.main{

}
.main .main-wrapper{
    /* 8px*/
    margin: 0.5rem 0;
    background: white;
}
.main .main-wrapper .title{
    /* 48px*/
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    position: relative;
}
.main .main-wrapper .title a{
    position: absolute;
    color: gray;
    /* 10px*/
    font-size: 0.625rem;
    right: 0.2rem;
}
.main .main-wrapper .title span{
    background-color: #ffd601;
    width: 1rem;
    height: 0.2rem;
    /* 居中设置(20-1)/2*/
    position: absolute;
    left: 9.5rem;
    bottom: 0.5rem;
}


.main .main-wrapper .headimg img{
    width: 100%;
}

.main .main-wrapper .shoplist{
    display: flex;
}
.main .main-wrapper .shoplist .shopitem{
    width: 33.3%;
    /* 5px*/
    padding: 0.3125rem;
    position: relative;
}
.main .main-wrapper .shoplist .shopitem a{
    font-size: 0.625rem;
    display: block;
}
.main .main-wrapper .shoplist .shopitem .img{
    width:100%;
}
.main .main-wrapper .shoplist .shopitem .desc{
    /* 10px*/
    font-size: 0.625rem;
    color: black;
    width:100%;
    height: 2.4rem;
    line-height: 1.2rem;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.main .main-wrapper .shoplist .shopitem .price{
    color: red;
}
.main .main-wrapper .shoplist .shopitem .marketprice{
    color: gray;
    /* 8px*/
    font-size: 0.5rem;
    text-decoration: line-through;
}

.main .main-wrapper .shoplist .shopitem button{
    display: inline-block;
    border: 1px solid lightgrey;
    /* 24px*/
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    text-align: center;
    color: orangered;
    line-height: 0;
    background: white;
    position: absolute;
    right: 0.1rem;
    /* 12px*/
    bottom: -0.5rem;
}
.main .main-wrapper .shoplist .shopitem button span{

}